<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<!-- <link rel="stylesheet" type="text/css" href="__PUBLIC__Css/public.css"> -->
<css file='__PUBLIC__/Css/public.css' />
<!-- <js file='__PUBLIC__/Js/jquery-1.7.2.min.js' /> -->
</head>

<body>
	<table>
		<tr>
			<th>ID</th>
			<th>发布者</th>
			<th>内容</th>
			<th>发布时间</th>
			<th>操作</th>
		</tr>

		<foreach name='wish' item='v'>
			<tr>
				<td>{$v.id}</td>
				<td>{$v.username}</td>
				<td>{$v.content|replace_phiz=###}</td>
				<td>{$v.time|date='y-m-d H:i', ###}</td>
				<td>
					<!-- 把$v这个数组里面的id传过去，传参 -->
					<a href="{:U('Admin/MsgManage/delete', array('id' => $v['id']))}">删除</a>
				</td>
			</tr>
		</foreach>

		<tr>
			<td colspan='5' align='center'>
				{$page}
			</td>
		</tr>
	</table>
</body>
</html>
